using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Experimental.Animations;

namespace ns
{
    ///<summary>
    ///
    ///</summary>
    public class AnimeEvent : MonoBehaviour
    {
        public Animator animator;

        private void Start()
        {
            animator = GetComponent<Animator>();
        }

        public void StopLeft()
        {
            animator.SetBool("left", false);
        }
        public void StopRight()
        {
            animator.SetBool("right", false);
        }
        public void StopDown()
        {
            animator.SetBool("down", false);
        }
    }
}
